<%--
    Document   : AltaSorteoyGanadores
    Created on : 04-may-2010, 22:10:06
    Author     : dario
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><bean:message key="altaSorteo.title"/></title>
         <style type="text/css">
          body {
                background-color: #000000;
                font-family: Arial, Helvetica, sans-serif, "Arial Narrow";
                font-weight: bold;
                color: #FFFFFF;
                font-size: 14px;
        }
        </style>
    </head>
    <body>
        <% if (request.getSession().getAttribute("Tipo")!="Admin")
         {
      %>
         <jsp:forward page="Welcome.do"/>
      <%
          }
      %>
        <jsp:include page="Cabezal.html"/>
        <br>
        <table width="100%">
           <tr>
                 <td align="center" width="30%" valign="top">
                     <jsp:include page="AdministradorMenu.jsp"/>
                 </td>
                 <td align="center">

                     <h1><bean:message key="altaSorteo.title"/></h1>
                     <br>
                 <table>
                  <tr>
                   <td align="center">
                    <html:form action="/AltaSorteoyGanadoresAction">

                        <div align="right">
                        <bean:message key="altaSorteo.fechaInicio"/> <html:text property="fechaInicio" maxlength="15"/> (día/mes/año)
                        <font color="red">  <html:errors property="fechaI" />  </font><br>
                        <bean:message key="altaSorteo.fechaFin"/> <html:text property="fechaFin" maxlength="15" />  (dia/mes/año)
                        <font color="red">  <html:errors property="fechaF" />  </font><br>
                        <br>
                        </div>
                        <bean:message key="altaSorteo.cantidad"/> <html:text property="cantidad" size="5" maxlength="8"/>
                        <font color="red">  <html:errors property="cant" />  </font><br>
                        <br>                        
                        <html:submit value="Sortear" style="background-color:#66FF66; font-weight:bold"/>
                        <html:reset value="Limpiar" style="background-color:#FFFF66; font-weight:bold"/>
                    </html:form>
                   </td>
                  </tr>
                 </table>

                </td>

            </tr>
        </table>
    <jsp:include page="Pie.html"/>
    </body>
</html>
